import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Date;

public class Test {
    public static void main(String[] args) {
        class Solution {
            public String addStrings(String num1, String num2) {
                char[]arr1=num1.toCharArray();
                char[]arr2=num2.toCharArray();
                int len1=arr1.length;
                int len2=arr2.length;
                int sum1=0;
                int sum2=0;
                for(int i=0;i<len1;i++){
                    sum1=sum1*10+(arr1[i]-'0');
                }
                for(int j=0;j<len2;j++){
                    sum2=sum2*10+(arr1[j]-'0');
                }

                return String.valueOf(sum1+sum2);
            }
        }
    }
    public static void main1(String[] args) {
        int[]arr={1,8,2,56,6};
        int[]arr1= Arrays.copyOfRange(arr,3,5);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
        System.out.println(Arrays.equals(arr,arr1));
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]+" ");
        }

        Date date=new Date();
        long i=date.getTime();
        System.out.println(i);

        String s="123";
        System.out.println();
    }



}
